package com.ktgj.other.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ktgj.common.core.annotation.Excel;
import com.ktgj.other.domain.vo.PayTypeVo;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class Cashier implements Serializable {
    public Cashier() {
        this.payType = new ArrayList<>();
    }

    /** 订单号 */
    @Excel(name = "订单号")
    private Long orderid;

    /** 上车地点 */
    @Excel(name = "上车地点")
    private String getonaddress;

    /** 下车地点 */
    @Excel(name = "下车地点")
    private String getoffaddress;

    /** 预定时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "预定时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date boardingtime;

    /** 用车方式：1 接机，2 送机，3 接站，4 送站，5 日租，6 半日租，7 时租，8 随叫随到 */
    @Excel(name = "用车方式：1 接机，2 送机，3 接站，4 送站，5 日租，6 半日租，7 时租，8 随叫随到")
    private Long usedcarway;

    /** 车型名称 */
    @Excel(name = "车型名称")
    private String cartypename;

    /** 描述 */
    @Excel(name = "描述")
    private String brand;

    /** 租车支付状态 枚举： 默认0 未支付10 支付中20 预授权成功30 支付成功31 预授权消费完成40 预授权消费失败50  预授权撤销完成 60 预授权撤销失败70 退款中80 退款成功90 退款失败100 */
    @Excel(name = "租车支付状态 枚举： 默认0 未支付10 支付中20 预授权成功30 支付成功31 预授权消费完成40 预授权消费失败50  预授权撤销完成 60 预授权撤销失败70 退款中80 退款成功90 退款失败100")
    private Long paymentstatus;

    /** 用户支付金额 */
    @Excel(name = "用户支付金额")
    private BigDecimal paymentamount;

    /** 支付过期时间 */
    @Excel(name = "支付过期时间")
    private String expiredTime;

    /** 支付类型 */
    @Excel(name = "支付类型")
    private List<PayTypeVo> payType;

    public Long getOrderid() {
        return orderid;
    }

    public void setOrderid(Long orderid) {
        this.orderid = orderid;
    }

    public String getGetonaddress() {
        return getonaddress;
    }

    public void setGetonaddress(String getonaddress) {
        this.getonaddress = getonaddress;
    }

    public String getGetoffaddress() {
        return getoffaddress;
    }

    public void setGetoffaddress(String getoffaddress) {
        this.getoffaddress = getoffaddress;
    }

    public Date getBoardingtime() {
        return boardingtime;
    }

    public void setBoardingtime(Date boardingtime) {
        this.boardingtime = boardingtime;
    }

    public Long getUsedcarway() {
        return usedcarway;
    }

    public void setUsedcarway(Long usedcarway) {
        this.usedcarway = usedcarway;
    }

    public String getCartypename() {
        return cartypename;
    }

    public void setCartypename(String cartypename) {
        this.cartypename = cartypename;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public Long getPaymentstatus() {
        return paymentstatus;
    }

    public void setPaymentstatus(Long paymentstatus) {
        this.paymentstatus = paymentstatus;
    }

    public BigDecimal getPaymentamount() {
        return paymentamount;
    }

    public void setPaymentamount(BigDecimal paymentamount) {
        this.paymentamount = paymentamount;
    }

    public String getExpiredTime() {
        return expiredTime;
    }

    public void setExpiredTime(String expiredTime) {
        this.expiredTime = expiredTime;
    }

    public List<PayTypeVo> getPayType() {
        return payType;
    }
}
